<?php 
	require_once './source/class/core.class.php';
	$core = &l3z_core::instance();
	$core->init();
	
	$_GET['mess_id'] = intval($_GET['mess_id']);
	DB::delete('messages', array('mess_id' => $_GET['mess_id']));
	header('Location:index.php');
?>